﻿
using UnityEngine;

namespace Gameplay.CharacterFramework
{
    public class NormalArrow : Projectile
    {
        private Vector2 _direction;
        private float _speed;
        private void Update()
        {
            
        }
        private void Start()
        {
            transform.Translate(_launcher.transform.forward * _speed * Time.deltaTime);
        }
        public override void Shoot(Vector3 direction, float speed)
        {
      
            _direction = direction;
            _speed = speed;
            Destroy(gameObject,3);
            
        }

        protected override void OnTriggerEnter(Collider other)
        {
            base.OnTriggerEnter(other);
        }
    }
}
